package com.mgg.goods.enums;

import com.mgg.common.enums.BaseResult;

/**
 * @Author: lijun
 * @Date: 2018-09-01 10:22:00
 */
public enum GoodsResultEnum implements BaseResult{

    GOODS_NOT_EXIST("201","商品不存在"),
    GOODSSPEC_NOT_EXIST("202","商品属性不存在"),
    GOODS_FIND_ERROR("203","商品查询失败"),
    UNBIND_FAIL("204","解绑门店失败"),
    ;

    private String code;

    private String message;

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    GoodsResultEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
